# 测试00001

a = int(input('请输入要转换的数：'))


def _(a: int):
    b = ''
    while a >= 1:
        if a % 2 == 0:
            b += "0"
        else:
            b += "1"
        a = a // 2
    return b[::-1]


print(_(a))
